<!DOCTYPE html>
<html lang="zh">
  <head>
    <meta http-equiv="pragram" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate">
    <meta http-equiv="expires" content="0">
    <meta charset="UTF-8" />
    <link rel="icon" href="/icon_pi.png" />
    <meta name="viewport"
    content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0,viewport-fit=cover telephone=yes" />
    <mata name="description" content="星卡是一家充满梦想的企业"/>
    <meta name="author" content="灿宇到此一游"/>
    <title>TCPI</title>
    
  </head>
  <body>
    <div id="app"></div>
    <script type="module" src="/src/main.ts"></script>
    <script>
      // console.log(location.href);
      // if (location.href.includes("homepage")) {
      //   document.querySelector("link[rel=icon]").setAttribute("href","../icon_pi.png")
      //   // document.querySelector("title").innerText = "TCPI"
      // }
      document.addEventListener('touchstart',function (event) {
       
        if(event.touches.length>1){
          event.preventDefault();
        }
      });

      var lastTouchEnd=0;

      document.addEventListener('touchend',function (event) {
        var now=(new Date()).getTime();
        if(now-lastTouchEnd<=300){
          event.preventDefault();
        }

        lastTouchEnd=now;

      },false);

      document.addEventListener('gesturestart', function (event) {
        event.preventDefault();
      });

  </script>
  </body>
</html>
